import { HttpUpload } from '@/api/index.js'

/**
 * 文件上传
 * @param file 上传的文件对象
 */
export const upload = (file) => {
    return HttpUpload('/admin/common/file/upload', file)
}
